package com.neusoft.feign;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import com.neusoft.po.CommonResult;

@FeignClient(name="authentication-server",fallback=AuthFeignClientCallBack.class)
public interface AuthFeignClient {
	
	@GetMapping("/AuthController/token/{userId}")
	public CommonResult getToken(@PathVariable("userId") String userId);
}
